.performance-card {
  background: #fff;
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e5e5;
  margin-top: 10px;

  /* 头部 */
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
  }

  .title {
    font-size: 16px;
    font-weight: 600;
    color: #34495e;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .date-info {
    font-size: 14px;
    color: #555;
  }

  .amount {
    font-size: 16px;
    font-weight: 700;
    color: #e74c3c;
  }

  /* 时间切换 */
  .tabs {
  }

  /* 日期滚动 */
  .date-scroll {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }

  .date-list {
    flex: 1;
    display: flex;
    overflow-x: auto;
    padding: 0 8px;
    gap: 6px;
  }

  .date-item {
    flex-shrink: 0;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    background: #fafafa;
  }

  .date-item.active {
    background: #409eff;
    color: #fff;
    border-color: #409eff;
  }

  .custom-table-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
  }

  .custom-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    font-size: 14px;
    text-align: center;
    background: white;
  }

  .custom-table-header {
    height: 35px;
    position: relative;

    &::after {
      position: absolute;
      bottom: -18px;
      right: 0;
      left: 0;
      margin: auto;
      width: 30px;
      height: 30px;
      content: "";
      background-position: 0 0;
      background-repeat: no-repeat;
      background-size: 30px 30px;
      z-index: 10;
    }

    &:nth-child(1) {
      background-color: #3272ee;
      color: white;
      &::after {
        background-image: url("@/assets/images/sjx/nth1.png");
      }
    }
    &:nth-child(2) {
      background-color: #0accbd;
      color: white;
      &::after {
        background-image: url("@/assets/images/sjx/nth2.png");
      }
    }
    &:nth-child(3) {
      background-color: #fecc00;
      color: white;
      &::after {
        background-image: url("@/assets/images/sjx/nth3.png");
      }
    }
    &:nth-child(4) {
      background-color: #ff7a01;
      color: white;
      &::after {
        background-image: url("@/assets/images/sjx/nth4.png");
      }
    }
  }

  /* 所有单元格基础样式 */
  .custom-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
  }

  /* 表格行 hover 效果 */
  .custom-table tbody tr:hover {
    background-color: #f8f9ff;
    transition: background-color 0.2s ease;
  }

  /* 确保 tbody 的 td 没有意外样式 */
  .custom-table tbody td {
    color: #333;
  }
}
